.\"                                      Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH BACULA\-DIR 8 "28 October 2017" "Kern Sibbald" "Network backup, recovery&verification"
.\" Please adjust this date whenever revising the manpage.
.\"
.SH NAME
.B bacula\-dir
\- Bacula Director
.SH SYNOPSIS
.B bacula\-dir
.RI [ options ]
.br
.SH DESCRIPTION
This manual page documents briefly the
.B bacula\-dir
command.
.br
Bacula's Director Daemon acts as the controller of the
network backup system: it is responsible for scheduling and 
coordinating backups across the network.
.SH OPTIONS
.TP
.BI \-c\  file
Specify the configuration file to use.
.TP
.BI \-d\  nn
Set debug level to \fInn\fP.
.TP
.BI \-dt
Print timestamp in debug output.
.TP
.BI \-T
Send debug messages to the trace file.
.TP
.BI \-f
Run in foreground (for debugging).
.TP
.BI \-g\  group
Set the group/gid to run as.
.TP
.BI \-m
Print kaboom output (for debugging).
.TP
.BI \-P
Do not create a PID file.
.TP
.BI \-r\  job
Run <job>.
.TP
.BI \-s
No signals (for debugging).
.TP
.B \-t
Test the configuration file and report errors.
.TP
.BI \-u\  user
Set the username/uid to run as.
.TP
.BI \-v
Set verbose mode.
.TP
.BI \-?
Show version and usage of program.
.SH TCP-WRAPPERS CONFIGURATION
Tcpwrappers looks for the service name of the bacula daemons in
.I hosts.allow
, and the service names of these daemons is configured to be different from the
binary.
The service names are configured to be
.B %hostname%-%component%
rather than
.B bacula-dir
(As defined in the bacula-dir.conf.in file)


So the hosts.allow entry has to match
.B %hostname%-%component%
(servername-dir for example) instead of bacula-%component%

.B WARNING:
This means that if the hosts.allow file has the entry:

.B bacula-dir: ALL

you will not be able to run bconsole to connect to the local director!

The entry would have to read:

.B server-dir: ALL

and this will allow the console to connect to the director.
(The process running is bacula-dir.)
.SH SEE ALSO
.BR bacula-fd (8),
.BR bacula-sd (8).

.SH AUTHOR
This manual page was written by Jose Luis Tallon
.nh
<jltallon@adv\-solutions.net>.
.SH COPYRIGHT
This man page document is released under the BSD 2-Clause license.
